<?php
namespace Home\Controller;
class TeacherController extends AuthController{
    public function index(){
		$teacher=M('teacher')->select();
		//dump($teacher);
        $this->assign('teacher',$teacher);
        $this->display();

    }

}